package com.atguigu.service;

import com.atguigu.entity.EduSubject;
import com.atguigu.entity.subject.OneSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author wxc
 * @since 2021-07-03
 */
public interface EduSubjectService extends IService<EduSubject> {

    /**添加课程分类**/
    void saveSubject(MultipartFile file, EduSubjectService subjectService);

    /**获取课程的一级二级分类**/
    List<OneSubject> getAllOneTwoSubject();
}
